package structural.bridge;

public class Test {

    public static void main(String[] args) {
        MobilePhone phone1 = new SamsungPhone();
        phone1.setPhone(new IntelBaseBand());

        MobilePhone phone2 = new LGPhone();
        phone2.setPhone(new QualcommBaseBand());

        MobilePhone phone3 = new LGPhone();

        phone1.call();
        phone2.call();
        phone3.call();
    }
}
